load("@rules_rust//rust:defs.bzl", "rust_doc", "rust_doc_test", "rust_library", "rust_test")

rust_library(
    name = "fibonacci",
    srcs = ["src/lib.rs"],
)

rust_test(
    name = "fibonacci_test",
    crate = ":fibonacci",
)

rust_doc(
    name = "fibonacci_doc",
    crate = ":fibonacci",
)

rust_doc_test(
    name = "fibonacci_doc_test",
    crate = ":fibonacci",
)
